class Resource < ActiveRecord::Base
	has_many :events
	belongs_to :resourcegroup
    belongs_to :project
	has_and_belongs_to_many :permissions
    
	validates :color, :presence => true
end
